package com.zhangtai.modules.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;


import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-06-15 11:54:06
 */
@Data
public class EmployeeInorgnameVo implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 员工id
	 */

	@NotNull(message = "员工id不能为空")
	@ApiModelProperty(value="员工编号",required = true)
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long empoid;
	/**
	 * 政治面貌
	 */
	@ApiModelProperty(value="政治面貌，1：党员，2：预备党员，3：共青团员，13：群众",required = false)
	private String polity;
	/**
	 * 加入时间
	 */
	@ApiModelProperty(value="入党时间",required = false)
	private Date joinDay;
	/**
	 * 党组织所在单位
	 */
	@ApiModelProperty(value="党组织所在单位",required = false)
	private String inorgname;



}
